package com.lesso.lpq.sunflower.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;




import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工考勤规则关系表
 * </p>
 *
 * @author lpq
 * @since 2025-07-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rel_employee_attendance_rule")
public class EmployeeAttendanceRule extends BaseModel<EmployeeAttendanceRule> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工ID
     */
    @TableField("employee_id")
    private Long employeeId;

    /**
     * 规则编码
     */
    @TableField("rule_code")
    private String ruleCode;

    /**
     * 生效日期
     */
    @TableField("effective_date")
    private Date effectiveDate;

    /**
     * 失效日期
     */
    @TableField("expiry_date")
    private Date expiryDate;

    /**
     * 0正常，1删除
     */
    @TableField("del_status")
    @TableLogic
    private Integer delStatus;

}
